<?php

if (!defined('BASEPATH'))
  exit('No direct script access allowed');

class Welcome extends MY_Controller {

 function  __construct() {
    parent::__construct();
    $this->require_login();
  }

  public function index() {
    $dt = $this->db->query("show tables")->result();
    $this->load->view('welcome_message');
  }

}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */